/*common_vew_css*/

.km-view {
    .km-header {
        .km-navbar {
            .km-leftitem {
                a.km-button.km-widget.km-back {
                    background: url(../img/common/left_back.png) no-repeat left;
                    background-size: 8px 15px;
                    //        width: 20px;
                    display: inline-block;
                    margin: 0;
                    border: none;
                    //        height: 20px;
                }
            }
        }
    }
}
a.km-button.km-back {
    background: url(../img/common/left_back.png) no-repeat left;
    background-size: 8px 15px;
    //        width: 20px;
    display: inline-block;
    margin: 0;
    border: none;
    //        height: 20px;
}

.index_footer_tab {
    height: 40px;
    .tab-bar {
        height: 100%;
        padding: 0;
        margin: 0;
        box-shadow: 0 -1px #e1e1e1;
        a {
            text-align: center;
            font-size: .4em;
            color: #000;
            margin-top: 2px;
            text-decoration: none;
            span {
                width: 100%;
                height: 25px;
                display: block;
            }
            span.wirte {
                height: 40px;
                background-image: url(../img/common/add.png);
                background-position: center;
                background-size: 35px;
                background-repeat: no-repeat;
            }
            span.index {
                background-image: url(../img/common/index.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
            span.find {
                background-image: url(../img/common/find.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
            span.msg {
                background-image: url(../img/common/msg.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
            span.my {
                background-image: url(../img/common/my.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
        }
        a.wirte {
            margin-top: 0;
        }
        a.active {
            color: #000;
            margin-top: 2px;
            span {
                width: 100%;
                height: 25px;
                display: block;
            }
            span.index {
                background-image: url(../img/common/index-v.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
            span.find {
                background-image: url(../img/common/find-v.png);
                background-position: center;
                background-size: 23px;
                background-repeat: no-repeat;
            }
            span.msg {
                background-image: url(../img/common/msg-v.png);
                background-position: center;
                background-size: 25px;
                background-repeat: no-repeat;
            }
            span.my {
                background-image: url(../img/common/my-v.png);
                background-position: center;
                background-size: 23px;
                background-repeat: no-repeat;
            }
        }
    }
}

#ui-popup-menu {
    transition: .2s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, .4);
    display: flex;

    align-items: center;
    align-content: space-between;

    .menu {
        transition: .2s;
        position: fixed;
        //background-color: white;
        border-radius: 3px;
        overflow: hidden;
        min-width: 95%;
        max-width: 95%;
        bottom: -100px;
        //box-shadow: 0 0 12px 0 #444;

        .title {
            font-size: 1.2em;
            color: #33b5e5;
            padding: .8em;
            border-bottom: solid 2px #33b5e5;
        }

        ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        li {
            border: solid 1px gainsboro;
            border-radius: 3px;
            background: #fff;
            a {
                display: block;
                padding: .88em;
                //padding-right: 6em;
                text-align: center;
                color: #007aff;
                text-decoration: none;

                &.km-state-active {
                    background-color: whitesmoke;
                }
            }
            border-bottom: solid 1px gainsboro;
        }

        li:last-child {
            border-bottom: 0;
        }
    }
}


/*css_common*/

input {
    margin-bottom: 0 !important;
}

p {
    margin: 0;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a:visited {
    color: #000000;
}

a:hover {
    color: #000000;
}
a:active{
    color: #000;
}
a{
    text-decoration: none!important;
}
a.km-state-active{

    color: #000 !important;
}

.arrow:after {
    content: '';
    background: url(../img/user/arrow_right.png) no-repeat right;
    width: 30px;
    height: 30px;
    background-size: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -15px;
}

.hide {
    display: none;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal!important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/*flex-box*/


/* 子元素-平均分栏 */

.flex1 {
    -webkit-box-flex: 1;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;
    /* OLD - Firefox 19- */
    width: 20%;
    /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;
    /* Chrome */
    -ms-flex: 1;
    /* IE 10 */
    flex: 1;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}


/* 父元素-横向排列（主轴） */

.flex-h {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    /* 09版 */
    -webkit-box-orient: horizontal;
    /* 12版 */
    /**
    row：主轴与行内轴方向作为默认的书写模式。即横向从左到右排列（左对齐）。
    row-reverse：对齐方式与row相反。
    column：主轴与块轴方向作为默认的书写模式。即纵向从上往下排列（顶对齐）。
    column-reverse：对齐方式与column相反。
   */
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
}


/* 父元素-横向换行 */

.flex-hw {
    /* 09版 */
    /*-webkit-box-lines: multiple;*/
    /* 12版 */
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}


/* 父元素-水平居中（主轴是横向才生效） */

.flex-hc {
    /* 09版 */
    -webkit-box-pack: center;
    /* 12版 */
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    /* 其它取值如下：
      align-items	 主轴原点方向对齐
      flex-end		主轴延伸方向对齐
      space-between   等间距排列，首尾不留白
      space-around	等间距排列，首尾留白
   */
}


/* 父元素-纵向排列（主轴） */

.flex-v {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    /* 09版 */
    -webkit-box-orient: vertical;
    /* 12版 */
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}


/* 父元素-纵向换行 */

.flex-vw {
    /* 09版 */
    /*-webkit-box-lines: multiple;*/
    /* 12版 */
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}


/* 父元素-竖直居中（主轴是横向才生效） */

.flex-vc {
    /* 09版 */
    -webkit-box-align: center;
    /* 12版 */
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}


/* 子元素-平均分栏 */

.flex1 {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}


/* 子元素-显示在从左向右（从上向下）第1个位置，用于改变源文档顺序显示 */

.flex-1 {
    -webkit-box-ordinal-group: 1;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-ordinal-group: 1;
    /* OLD - Firefox 19- */
    -ms-flex-order: 1;
    /* TWEENER - IE 10 */
    -webkit-order: 1;
    /* NEW - Chrome */
    order: 1;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}


/* 子元素-显示在从左向右（从上向下）第2个位置，用于改变源文档顺序显示 */

.flex-2 {
    -webkit-box-ordinal-group: 2;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-ordinal-group: 2;
    /* OLD - Firefox 19- */
    -ms-flex-order: 2;
    /* TWEENER - IE 10 */
    -webkit-order: 2;
    /* NEW - Chrome */
    order: 2;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}